package cz.proks.easyhelpdesk.gwt.restapi;

import com.google.gwt.json.client.JSONValue;

import cz.proks.easyhelpdesk.gwt.utils.RestUtils;

public abstract class RestDomainListCallback<Domain> extends RestUtils.Callback implements DomainListCallback<Domain> {
    @Override
    @Deprecated
    public void onSuccess(JSONValue val) {
        throw new UnsupportedOperationException("Method onSuccess(JSONValue val) is deprecated. Use onDomainListSuccess(Collection<Domain>) method!");
    }
}